//
//  Car.swift
//  Swift_Learn
//
//  Created by EDY on 5/22/25.
//

import Foundation

class Car {
    var brand:String
    var year:Int
    
    init(brand: String, year: Int) {
        self.brand = brand
        self.year = year
    }
    func drive() {
        print("Drive a \(year) \(brand)")
    }
    
}
